PRJ		= heatdist
SRC		= $(PRJ).c
CC		= g++
CFLAGS	= -Wall -O3 -fopenmp
LFLAGS	= -lm

all: debug release

debug: $(SRC)	
	$(CC) $(CFLAGS) -D DEBUG=1 $(SRC) -o ./bin/$(PRJ)_DBG $(LFLAGS)

release: $(SRC)	
	$(CC) $(CFLAGS) -D DEBUG=0 $(SRC) -o ./bin/$(PRJ) $(LFLAGS)

clean:
	rm ./bin/*
